package com.test.mvcframework.pojo.handler;

import javax.servlet.http.HttpServletRequest;

/**
 * @author felix
 */
public interface HandlerMapping {
    /**
     * 判断请求是否匹配
     * @param request
     * @return
     */
    boolean match(HttpServletRequest request);

    /**
     * 获取请求处理器
     * @return
     */
    HandlerExecutionChain getHandler();
}
